package com.cg.service;


import com.cg.dto.DepartmentDto;
import com.cg.entity.Department;
import com.cg.vo.DepartmentVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * (Department)表服务接口
 *
 * @author chengong
 * @since 2023-12-01 09:16:19
 */
public interface DepartmentService {


    /**
     * 查询部门表信息全部信息
     * @return
     */
    List<Department> queryAll();


    /**
     * 根据部门名称模糊分页查询全部部门的全部信息
     * @return
     */
    PageInfo<DepartmentVo> queryDepByDepName(DepartmentDto departmentDto);

}
